package com.beamfield.dao.portal;

import com.beamfield.model.Carousel;
import com.beamfield.modelVo.CarouselVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface CarouselMapper {
    int deleteByPrimaryKey(Long carousel_id);

    int insert(Carousel record);

    int insertSelective(Carousel record);

    Carousel selectByPrimaryKey(Long carousel_id);

    int updateByPrimaryKeySelective(Carousel record);

    int updateByPrimaryKey(Carousel record);

    List<CarouselVo> select(@Param("offset") String offset, @Param("limit") String limit, @Param("beamId") Long beamId);

    long count(@Param("beamId") Long beamId);
}